<% remote_form_for @post,
  :update => "album_review",
  :url => valleyers_show_albums_show_photos_show_entries_show_posts_url,
  :method => :post,
  :html => {
  :id => 'new_album_post_html_form'
} do |f| %>
  <%= f.text_area :content %>
  <%= f.hidden_field :album_id %>
  <%= f.hidden_field :created_by_valleyer_id %>
  <%= link_to_function image_tag('valleyer/fixed.jpg'), "$('new_album_post_html_form').onsubmit()", :class => 'fixed' %>
  <%= link_to_remote '取消',
    :update => 'album_review',
    :url => valleyers_show_albums_show_photos_show_entries_show_posts_url(:album_id => @album.id),
    :method => :get,
    :html => {
    :class => 'cancel'
  } %>
<% end %>
